package ro.pub.cs.client;

import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Grid;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.Hyperlink;

public class GradesPane extends Composite{
	private Grid gradesTable = new Grid();
	
	private HorizontalPanel header = new HorizontalPanel();
	
	public GradesPane() {
		
		header.add(new HTML("Homework 1"));
		header.add(new Button("Up"));
		header.add(new Button("Down"));
		
		gradesTable.resize(10, 6);
		gradesTable.setWidget(0, 1, header);
		gradesTable.setText(0, 2, "Homework 2");
		gradesTable.setText(0, 3, "Homework 3");
		gradesTable.setText(0, 4, "Homework 4");
		gradesTable.setText(0, 5, "Homework 5");
		initWidget(gradesTable);
	}
}
